package com.entity;

import java.sql.Date;



public class Comment {
	private int c_id;
	private int user_id;
	private String content;
	private Date date;
	private int shop_id;
	private int good_id;
	private int likes;
	private String user_name;
	
	
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public int getC_id() {
		return c_id;
	}
	public void setC_id(int c_id) {
		this.c_id = c_id;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public int getShop_id() {
		return shop_id;
	}
	public void setShop_id(int shop_id) {
		this.shop_id = shop_id;
	}
	public int getGood_id() {
		return good_id;
	}
	public void setGood_id(int good_id) {
		this.good_id = good_id;
	}
	public int getLikes() {
		return likes;
	}
	public void setLikes(int likes) {
		this.likes = likes;
	}

	public Comment(int c_id, int user_id, String content, Date date, int shop_id, int good_id, int likes,
			String user_name) {
		super();
		this.c_id = c_id;
		this.user_id = user_id;
		this.content = content;
		this.date = date;
		this.shop_id = shop_id;
		this.good_id = good_id;
		this.likes = likes;
		this.user_name = user_name;
	}
	public Comment() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Comment [c_id=" + c_id + ", user_id=" + user_id + ", content=" + content + ", date=" + date
				+ ", shop_id=" + shop_id + ", good_id=" + good_id + ", likes=" + likes + ", user_name=" + user_name
				+ "]";
	}

	
	
	
	
	
	
}
